package router

import (
	"api/internal/api"
	"api/internal/middleware"
	"github.com/gin-gonic/gin"
)

func PaperRouter(c *gin.RouterGroup) {
	paperRouter := c.Group("paper").Use(middleware.Middleware())
	{
		paperRouter.POST("create", api.CreatePaper)
		paperRouter.POST("update", api.UpdatePaper)
		paperRouter.POST("delete", api.DeletePaper)
	}
}
